<?php
use Yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\helpers\Url;
$this->title = '运营设置';
?>
<div class="container">
    <div class="row">
      
        <?php echo $this->render('_leftnav') ?>

        <div class="col-md-10">
          <div class="page-header clearfix">
            <h1 class="pull-left">资讯</h1>
            <div class="pull-right">

                                            
            </div>
          </div>

	        <?php
	        $form = ActiveForm::begin([
		        'options' => ['class' => 'form-horizontal','id'=>'article-form'],
		        'action'=>Url::to(['system/operatesave']),
		        'method'=>'post',
		        'fieldConfig' => [
			        'template'=>'<div class="form-group"><div class="col-md-2 control-label">{label}</div><div class="col-md-8 controls">{input}{error}</div></div>'
		        ],
	        ]);
	        ?>
<!--  <form data-widget-cid="widget-0" novalidate="novalidate" class="form-horizontal" id="article-form" method="post">-->

	        <?= $form->field($model, 'consult')->textInput() ?>

<!--    <div class="form-group">-->
<!--      <div class="col-md-2 control-label">-->
<!--        <label for="name">频道名称</label>-->
<!--      </div>-->
<!--      <div class="col-md-8 controls">-->
<!--        <input id="name" name="name" class="form-control" value="资讯频道" type="text">-->
<!--      </div>-->
<!--    </div>-->

	        <?= $form->field($model, 'consult_page')->textInput() ?>

<!--    <div class="form-group">-->
<!--      <div class="col-md-2 control-label">-->
<!--        <label for="pageNums">列表每页资讯数</label> -->
<!--      </div>-->
<!--      <div class="col-md-8 controls">-->
<!--        <input data-explain="" data-widget-cid="widget-1" id="pageNums" name="pageNums" class="form-control" value="10" type="text">-->
<!--      <div class="help-block" style="display:none;"></div></div>-->
<!--    </div>-->

    <div class="form-group">
      <div class="col-md-2 control-label"></div>
      <div class="controls col-md-8">
	      <?= Html::submitButton('提交', ['class'=>'btn btn-primary']) ?>
      </div>
    </div>
<?php ActiveForm::end();?>

        </div>
    </div>
</div>
